using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Topology
{
    /// <summary>
    /// <para>Remove Rule From Topology</para>
    /// <para>Removes a rule from a topology.</para>
    /// <para>从拓扑中删除规则。</para>
    /// </summary>    
    [DisplayName("Remove Rule From Topology")]
    public class RemoveRuleFromTopology : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public RemoveRuleFromTopology()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_topology">
        /// <para>Input Topology</para>
        /// <para>The topology from which to remove a rule.</para>
        /// <para>要从中删除规则的拓扑。</para>
        /// </param>
        /// <param name="_in_rule">
        /// <para>Rule</para>
        /// <para>The topology rule to remove from the topology.</para>
        /// <para>要从拓扑中删除的拓扑规则。</para>
        /// </param>
        public RemoveRuleFromTopology(object _in_topology, object _in_rule)
        {
            this._in_topology = _in_topology;
            this._in_rule = _in_rule;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Remove Rule From Topology";

        public override string CallName => "management.RemoveRuleFromTopology";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_topology, _in_rule, _out_topology];

        /// <summary>
        /// <para>Input Topology</para>
        /// <para>The topology from which to remove a rule.</para>
        /// <para>要从中删除规则的拓扑。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Topology")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_topology { get; set; }


        /// <summary>
        /// <para>Rule</para>
        /// <para>The topology rule to remove from the topology.</para>
        /// <para>要从拓扑中删除的拓扑规则。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Rule")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_rule { get; set; }


        /// <summary>
        /// <para>Updated Input Topology</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Topology")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_topology { get; set; }


        public RemoveRuleFromTopology SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}